import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import axios from 'axios';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
axios.defaults.baseURL = 'http://localhost:8083'; // axios请求路径
Vue.prototype.$http = axios;
Vue.prototype.$api = 'http://39.101.1.218:8083'; // 图片上传路径
Vue.config.productionTip = false;
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
